home *** CD-ROM | disk | FTP | other *** search
/ Virtual Top Model / Virtual Top Model - Disc 1.iso / modulos / mod-1.dxr / 00004_boton ayuda.ls < prev    next >
Encoding:
Text File  |  1997-04-01  |  604 b   |  24 lines

  1. on mouseUp
  2.   global bAyuda
  3.   if rollOver(14) then
  4.     set the member of sprite 14 to member "Fd_Bt_A/5" of castLib "elementos graficos"
  5.     puppetSprite(14, 0)
  6.     updateStage()
  7.     set bAyuda to not bAyuda
  8.     set the visible of sprite 47 to bAyuda
  9.     updateStage()
  10.   end if
  11. end
  12.  
  13. on mouseDown
  14.   repeat while the stillDown
  15.     puppetSprite(14, 1)
  16.     if rollOver(14) then
  17.       set the member of sprite 14 to member "Fd_Bt_B/5" of castLib "elementos graficos"
  18.     else
  19.       set the member of sprite 14 to member "Fd_Bt_A/5" of castLib "elementos graficos"
  20.     end if
  21.     updateStage()
  22.   end repeat
  23. end
  24.